﻿using SqlSugar;
using System.ComponentModel.DataAnnotations.Schema;

namespace XinLife.Model
{
    /// <summary>
    /// 模块按钮表
    /// </summary>
    [Table("tb_modulebutton")]
    [SugarTable("tb_modulebutton")]
    public class ModuleButton : BaseModel
    {
        /// <summary>
        /// 页面Name
        /// </summary>
        public string cModuleName { get; set; }
        /// <summary>
        /// 是否激活
        /// </summary>
        public bool cEnabled { get; set; }
        /// <summary>
        /// 功能主键
        /// </summary>
        public string cModuleId { get; set; }
        /// <summary>
        /// 图标
        /// </summary>
        public string cIcon { get; set; }
        /// <summary>
        /// 按扭位置 1工具栏 2行内
        /// </summary>
        public int cPosition { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string cTitle { get; set; }
        /// <summary>
        /// url地址
        /// </summary>
        public string cPath { get; set; }
        /// <summary>
        /// 控制器名称
        /// </summary>
        public string cApi { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int cSortCode { get; set; }
        /// <summary>
        /// 按钮code
        /// </summary>
        public string cEnCode { get; set; }
    }
}
